package com.ruoyi.comment.domain;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 评论表对象 pw_comment
 * 
 * @author ruoyi
 * @date 2025-07-29
 */
@Data
public class PwComment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 1-动态评论 */
    @Excel(name = "1-动态评论")
    private Long type;

    /** 评论内容 */
    @Excel(name = "评论内容")
    private String content;

    /**动态id */
    @Excel(name = "动态id")
    private Long commentId;

    //评论类型枚举
    public static final Long COMMENT_TYPE_DYNAMIC = 1L;    //1-动态评论

    //以下均会返回字段
    //用户信息
    private String username;
    //头像
    private String avatar;

}
